package com.tllq.zhongkang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tllq.zhongkang.entity.Couponoff;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


@Repository

public interface CouponMapper extends BaseMapper<Couponoff> {

//    查询已消费券
    public IPage<Couponoff> findBytime(Page<Couponoff> page,  String startime,  String endtime);

    public Long selectId();

    public void updateApprange(@Param("aapprangeid") Integer aapprangeid, @Param("value") Float value);
}
